﻿using ConfExpert.Forms.Base;
using System;

namespace ConfExpert.Forms.Depo
{
    public partial class Detail2x : XPopupForm
    {
        int ProductId;
        public Detail2x(int productId)
        {
            InitializeComponent();
            ProductId = productId;
        }

        private void Detail2x_Load(object sender, EventArgs e)
        { 
            //if (ProductId > 0)
            //{
            //    GetDetails("xProductPhotos;xBuffer", "GetProductPhoto", ProductId, -1);
            //    pictureEdit1.EditValue = ds.xProductPhotos[0].Photo;
            //}
            //else
            //{
            //    GetDetails("xProductPhotos;xBuffer", "GetPOTara", -ProductId);
            //    pictureEdit1.EditValue = ds.xProductPhotos[0].Photo;
            //}

        }
    }
}
